﻿//路径问题，返回更目录../表示返回上一级
var connection = require("../../app_modules/dbAccess/mongoConfig.js");
//打印对象
console.dir(obj);

console.log(req.body.City);//获取前端传来的json对象
console.log("获取params:" + req.params[0]);
console.log("获取？参数传值:" + req.query.a);

//正则表达式拼接
eval("var re = /" + req.body.loginName + "/i;");